import { GridContent, PageContainer } from '@ant-design/pro-layout';
import { useAccess, useModel } from '@umijs/max';
import React from 'react';
import PreviewFlow from './components/PreviewFlow';
import PreviewModule from './components/PreviewModule';
import PreviewUser from './components/PreviewUser';

export default (): React.ReactNode => {
  const { initialState, setInitialState } = useModel('@@initialState');
  const access = useAccess();

  return (
    <PageContainer
      header={{
        breadcrumb: {},
        title: false,
      }}
    >
      <GridContent>
        <React.Fragment>
          <PreviewModule />
          <PreviewUser />
          <PreviewFlow />
        </React.Fragment>
      </GridContent>
    </PageContainer>
  );
};
